<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="com.opensymphony.xwork2.ActionContext,com.visualexpress.messager.rss.*,com.visualexpress.domain.*" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<base href="<%=basePath%>">
		<meta http-equiv="Content-Type"
			content="text/html; charset=UTF-8">
		<title>Insert title here</title>
	</head>
	<body>
	<% ActionContext ctx = ActionContext.getContext();
       User user =  (User)ctx.getSession().get("user");
		String rssUri= RssUtil.getRssfeedUri(user);
	 %>
		<span id="SubscriptionList"><dt>
				RSS订阅
			</dt>
			<dd>
				<a href=<%=rssUri %>> <img
						border="0" alt="XML聚合" src="jsp/enterprise/images/xml.gif" />
				</a>&nbsp;&nbsp;
				<a href=<%=rssUri%>
					target="_blank"><img border="0" alt="FeedSky"
						src="jsp/enterprise/images/feedsky.gif" />
				</a>
			</dd>
			<dd>
				<a
					href="http://www.xianguo.com/subscribe.php?url="&<%=rssUri%>
					target="_blank"><img border="0" alt="订阅到鲜果"
						src="jsp/enterprise/images/rss_xianguo.jpg" />
				</a>
			</dd>
			<dd>
				<a
					href="http://fusion.google.com/add?feedurl="&<%=rssUri%>
					target="_blank"><img border="0" alt="订阅到Google"
						src="jsp/enterprise/images/rss_google.gif" />
				</a>
			</dd>
			<dd>
				<a
					href="http://www.zhuaxia.com/add_channel.php?url="&<%=rssUri%>
					target="_blank"><img border="0" alt="订阅到抓虾"
						src="jsp/enterprise/images/rss_zhuaxia.gif" />
				</a>
			</dd>
			<dd>
				<a
					href="http://www.bloglines.com/sub/"&<%=rssUri%>
					target="_blank"><img border="0" alt="订阅到BlogLines"
						src="jsp/enterprise/images/rss_bloglines.gif" />
				</a>
			</dd>
			<dd>
				<a
					href="http://add.my.yahoo.com/rss?url="&<%=rssUri%>
					target="_blank"><img border="0" alt="订阅到Yahoo"
						src="jsp/enterprise/images/rss_yahoo.gif" />
				</a>
			</dd>
			<dd>
				<a
					href="http://rss.gougou.com/find_rss.jsp?url="&<%=rssUri%>
					target="_blank"><img border="0" alt="订阅到GouGou"
						src="jsp/enterprise/images/rss_gougou.gif" />
				</a>
			</dd>
			<dd>
				<a
					href="http://www.pageflakes.com/subscribe.aspx?url="&<%=rssUri%>
					target="_blank"><img border="0" alt="订阅到飞鸽"
						src="jsp/enterprise/images/rss_pageflakes.gif" />
				</a>
			</dd>
			<dd>
				<a
					href="http://www.rojo.com/add-subscription?resource="&<%=rssUri%>
					target="_blank"><img border="0" alt="订阅到Rojo"
						src="jsp/enterprise/images/rss_rojo.gif" />
				</a>
			</dd>
			<dd>
				<a
					href="http://www.newsgator.com/ngs/subscriber/subfext.aspx?url="&<%=rssUri%>
					target="_blank"><img border="0" alt="订阅到newsgator"
						src="jsp/enterprise/images/rss_newsgator.gif" />
				</a>
			</dd>
			<dd>
				<a
					href="http://www.netvibes.com/subscribe.php?url="&<%=rssUri%>
					target="_blank"><img border="0" alt="订阅到netvibes"
						src="jsp/enterprise/images/rss_netvibes.gif" />
				</a>
			</dd>
		</span>
	</body>
</html>